//
//  main.m
//  OC1_类和对象课后作业
//
//  Created by dllo on 15/10/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Director.h"    //1             1
#import "singer.h"       //2          2
#import "Website.h"       //3            3
#import "Player.h"        //4             4
#import "Film.h"          //5              5
#import "Game.h"           //6           6
#import "Fish.h"          //7            7
#import "Bird.h"           //8           8
#import "Parents.h"        //9           9
#import "Picture.h"        //10           10
#import "Country.h"        //11            11
#import "EarMicrophone.h"   //12         12
#import "Fruit.h"          //13          13
#import "Book.h"           //14          14
#import "Flower.h"         //15         15
#import "season.h"        //16  1      16
#import "Cat.h"        // 17   2         17
#import "Dog.h"      //18     3         18
#import "Tea.h"      // 19      4        19
#import "Bank.h"   // 20      5       20
#import "Tree.h"   //21     6        21
#import "Tobacco.h"    //22    7      22
#import "Room.h"   //23       8        23
#import "Factory.h"  //24     9        24
#import "Snake.h"   //25      10        25
#import "Weather.h"  //26      11        26
#import "Tiger.h"   //27      12        27
#import "Lion.h"    //28      13       28
#import "Panda.h"     //29     14      29
#import "Suger.h"     //30              30



int main(int argc, const char * argv[]) {

//    Director *dir = [[Director alloc] init];
//    dir->_name = @"赵薇";
//    dir->_sex = @"女";
//    dir->_age = 30;
//    [dir direct];
//    Director *dir = [Director DirectorWithName:@"徐静蕾" sex:@"女" age:34];
//    [dir info];
    
//    singer *sin = [[singer alloc] init];
//    sin->_name = @"孙燕姿";
//    sin->_sex = @"female";
//    sin->_age = 26;
//    [sin singing];
//    singer *sin = [singer singerWithName:@"田震" sex:@"女" age:40];
//    [sin info];
    
//    Website *web = [[Website alloc] init];
//    web->_address = @"souhu";
//    web->_page = @"qqqqqqqqq";
//    web->_age = 15;
//    [web change];
//    Website *web = [Website WebsiteWithAddress:@"新浪" page:@"www.sina.com" age:15];
//    [web info];
    
//    Player *pl = [[Player alloc] init];
//    pl->_name = @"kaka";
//    pl->_age = 6;
//    pl->_sex = @"male";
//    pl->_event = @"football";
//    [pl play];
//    Player *p = [Player playerWithName:@"刘翔" sex:@"男" age:25 event:@"110米栏"];
//    [p info];
//    Film *f = [[Film alloc] init];
//    f->_name = @"武林外传";
//    f->_actor = @"姚晨";
//    f->_part = 100;
//    [f online];
//    Film *f = [Film filmWithName:@"致青春" part:1 actor:@"赵薇"];
//    [f info];
//    Game *g = [[Game alloc] init];
//    g->_name = @"足球经理";
//    g->_size = 8.78;
//    [g play];
//    Game *g = [Game gameWithName:@"诛仙" size:9.45];
//    [g info];
    
//    Fish *f = [[Fish alloc] init];
//    f->_name = @"鲤鱼";
//    f->_color = @"白";
//    [f swim];
//    Fish *f = [Fish fishWithName:@"金鱼" color:@"白" heavy:234];
//    [f info];
//    Bird *b = [[Bird alloc] init];
//    b->_name = @"乌鸦";
//    b->_color = @"黑";
//    [b fly];
//    Bird *b = [Bird birdWithName:@"燕子" color:@"灰"];
//    [b info];
    
//    Parents *p = [[Parents alloc] init];
//    p->_age = 50;
//    p->_sex = @"female";
//    [p mother];
//    Parents *p = [Parents parentsWithSex:@"女" age:50];
//    [p info];
    
    
//    Ppicture *p = [[Ppicture alloc] init];
//    p->_name = @"蒙娜丽莎";
//    p->_value = 987908.345;
//    [p sale];
//    Ppicture *p = [Ppicture pictureWithName:@"向日葵" value:345.345];
//    [p info];
    
//    Country *c = [[Country alloc] init];
//    c->_name = @"日本";
//    c->_size = 234;
//    [c attack];
//    Country *c = [Country countryWithName:@"美国" size:234];
//    [c info];
    
//    EarMicrophone *e = [[EarMicrophone alloc] init];
//    e->_name = @"魔声";
//    e->_color = @"黑";
//    e->_value = 2373.234;
//    [e sold];
//    EarMicrophone *e = [EarMicrophone earmicrophoneWithName:@"西伯利亚" color:@"白色" value:234.234];
//    [e info];
    
//       Fruit *f = [[Fruit alloc] init];
//       f->_name = @"香蕉";
//       f->_color = @"黑";
//       [f eat];
//    Fruit *f = [Fruit fruitWithName:@"西瓜" color:@"绿色"];
//    [f info];
    
//    Book *b = [[Book alloc] init];
//    b->_name = @"钢铁是怎样炼成的";
//    b->_price = 32.12;
//    [b sale];
//    Book *b = [Book bookWithName:@"诛仙" price:234.234];
//    [b info];
    
//    Flower *f = [[Flower alloc] init];
//    f->_name = @"金盏花";
//    f->_color = @"白色";
//    [f bloom];
//    Flower *f = [Flower flowerWithName:@"牡丹" color:@"白色"];
//    [f info];
    
    
//    season *s = [[season alloc] init];
//    s->_name = @"autumn";
//    s->_cont = 3;
//    [s godie];
//    season *s = [season seasonWithName:@"夏天" cont:2];
//    [s info];
    
//    Cat *c = [[Cat alloc] init];
//    c->_name = @"小灰";
//    c->_color = @"白";
//    [c jump];
//    Cat *c = [Cat catWithName:@"asdf" color:@"黑色"];
//    [c info];
    
//    Dog *d = [[Dog alloc] init];
//    d->_name = @"哮天犬";
//    d->_color = @"黑";
//    [d eat];
//        Dog *d = [Dog dogWithName:@"asdf" color:@"黑色"];
//        [d info];
    
//    Tea *t = [[Tea alloc] init];
//    t->_name = @"红茶";
//    t->_taste = @"浓香";
//    [t drink];
//    Tea *t = [Tea teaWithName:@"苦荞茶" color:@"绿色" taste:@"香"];
//    [t info];
//    Bank *b = [[Bank alloc] init];
//    b->_name = @"渣打银行";
//    b->_size = @"外资";
//    [b borrow];
//    Bank *b = [Bank bankWithName:@"花旗" size:@"外资"];
//    [b info];
    
//    Tree *t = [[Tree alloc] init];
//    t->_color = @"黄色";
//    t->_name = @"梧桐树";
//    [t cut];
//    Tree *t = [Tree treeWithName:@"柳树" color:@"绿色"];
//    [t info];
    
//    Tobacco *t = [[Tobacco alloc] init];
//    t->_name = @"玉溪";
//    t->_price = 22;
//    [t buy];
//    Tobacco *t = [Tobacco tobaccoWithName:@"南京" price:12];
//    [t info];
    
//    Room *r = [[Room alloc] init];
//    r->_color = @"白色";
//    r->_name = @"厨房";
//    [r wash];
//    Room *r = [Room roomWithName:@"客厅" color:@"红色"];
//    [r info];
//    Factory *f = [[Factory alloc] init];
//    f->_name = @"fd";
//    f->_number = 3456;
//    [f fire];
//    Factory *f = [Factory factoryWithName:@"523" number:1234];
//    [f info];
    
//        Snake *s = [[Snake alloc] init];
//        s->_name = @"小紫";
//        s->_color = @"紫";
//        [s crawl];
//    Snake *s =[Snake snakeWithName:@"woOWE" color:@"蓝色"];
//    [s info];
    
    
//    Weather *w = [[Weather alloc] init];
//    w->_name = @"雨天";
//    w->_feel = @"不好";
//    [w choose];
//    Weather *w = [Weather weatherWithName:@"雾天" feel:@"notgood"];
//    [w info];
//        Tiger *t = [[Tiger alloc] init];
//        t->_name = @"泰格";
//        t->_color = @"黄";
//        [t play];
//    Tiger *t = [Tiger tigerWithName:@"werwer" color:@"白色"];
//    [t info];
//            Lion *l = [[Lion alloc] init];
//            l->_name = @"刀疤";
//            l->_color = @"红";
//            [l play];
//    Lion *l = [Lion lionWithName:@"uuu" color:@"黑色"];
//    [l info];
    
//     Panda *p = [[Panda alloc] init];
//     p->_name = @"京京";
//     p->_color = @"白";
//     [p play];
//    Panda *p = [Panda pandaWithName:@"欢欢" color:@"黑色"];
//    [p info];
//    Suger *s = [[Suger alloc] init];
//    s->_name = @"棉花糖";
//    s->_color = @"蓝色";
//    [s eat];
//        Suger *s = [Suger sugerWithName:@"咖啡糖" color:@"咖啡色"];
//        [s info];

    
    
    
    
    
    
    
    
    return 0;
}
